package datafeed;

import java.util.ArrayList;
import java.util.List;

public class Category {

	private List<DataItem> m_dataItems = new ArrayList<DataItem>();
	private String m_name;
	
	public Category(String name) {
		m_name = name;
	}
	
	public void setName(String name) {
		m_name = name;
	}
	
	public String getName() {
		return m_name;
	}
	
	public List<DataItem> getDataItems() {
		return m_dataItems;
	}
	
	public void addDataItem(DataItem d) {
		m_dataItems.add(d);
	}
}
